﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.Master" AutoEventWireup="true"
    CodeBehind="PlayPause.aspx.cs" Inherits="ControlExplorer.C1LightBox.PlayPause" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.3" Namespace="C1.Web.Wijmo.Controls.C1LightBox"
    TagPrefix="wijmo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <wijmo:C1LightBox ID="C1LightBox1" runat="server" Player="Img" ShowTimer="true" CtrlButtons="Play, Stop"
        Loop="false">
        <Items>
            <wijmo:C1LightBoxItem ID="LightBoxItem1" Title="Sport1" Text="Sport1" ImageUrl="http://lorempixum.com/120/90/sports/1"
                LinkUrl="http://lorempixum.com/600/400/sports/1" />
            <wijmo:C1LightBoxItem ID="LightBoxItem2" Title="Sport2" Text="Sport2" ImageUrl="http://lorempixum.com/120/90/sports/2"
                LinkUrl="http://lorempixum.com/600/400/sports/2" />
            <wijmo:C1LightBoxItem ID="C1LightBoxItem3" Title="Sport3" Text="Sport3" ImageUrl="http://lorempixum.com/120/90/sports/3"
                LinkUrl="http://lorempixum.com/600/400/sports/4" />
            <wijmo:C1LightBoxItem ID="C1LightBoxItem4" Title="Sport4" Text="Sport4" ImageUrl="http://lorempixum.com/120/90/sports/4"
                LinkUrl="http://lorempixum.com/600/400/sports/4" />
        </Items>
    </wijmo:C1LightBox>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Description" runat="server">
    <p>
       此示例演示如何操纵C1LightBox控件的按钮。
    </p>
    <p>
        <b>CtrlButtons</b> 属性决定控件按钮的可见度，它是一个标志，具有以下可能值枚举值：
    </p>
    <ul>
        <li>None - 没有显示控件按钮.</li>
        <li>Play - 显示“播放”按钮。</li>
        <li>Stop - 显示“停止”按钮。</li>
    </ul>
    <p>
        点击“播放”按钮LigthtBox顺序地显示页。将 <b>AutoPlay</b>
        属性设为True，初始化后自动播放。
         
    </p>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" runat="server">
</asp:Content>
